package com.ruoyi.system.service;

import com.ruoyi.system.domain.PublicReview;

/**
 * 大众评审
 */
public interface PublicReviewService {

    /**
     * 查询是否到达最大投票数
     * @param publicReview
     * @return
     */
    public Integer queryMaxVotePublicReview(PublicReview publicReview);


    /**
     * 查询是否重复投票
     * @param publicReview
     * @return
     */
    public Integer queryRepetitionPublicReview(PublicReview publicReview);

    //添加信息
    public void savePublicReview(PublicReview publicReview);
}
